package com.itheima.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.service.UserService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserServiceimpl implements UserService {
    private UserDao userDao;

    public UserServiceimpl(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserServiceimpl() {
    }
//    public void setUserDao(UserDao userDao) {
//        this.userDao = userDao;
//    }

    public void save(){

       userDao.save();


    }
}
